﻿/*****************************************************************
// Copyright (C)
// All rights reserved.
// 
// Author:       WYQ
// Create Date:  2012-8-2 9:53:09
// Usage: 持久化模型
*****************************************************************/
using System;
using System.ComponentModel.DataAnnotations;

namespace Portal
{


    public interface ICategory:IEntity
    {   
    
        [StringLength(255, ErrorMessage = "'Name'字符过长")]
        string Name {get;set;}
        
    
        [StringLength(255, ErrorMessage = "'NameEn'字符过长")]
        string NameEn {get;set;}
        
    
        [StringLength(255, ErrorMessage = "'Code'字符过长")]
        string Code {get;set;}
        
    
        long Sort {get;set;}
        
    
        long Type {get;set;}
        
    
        long Depth {get;set;}
        
    
        [StringLength(255, ErrorMessage = "'ParentId'字符过长")]
        string ParentId {get;set;}
        
    
        [StringLength(255, ErrorMessage = "'MarkEn'字符过长")]
        string MarkEn {get;set;}
        
    
        string Mark {get;set;}
        
    
        bool IsSystem {get;set;}
        
    
        [StringLength(255, ErrorMessage = "'Culture'字符过长")]
        string Culture {get;set;}
        
    }
   }



